from time import time
n = time()
with open ('m1_sorted.txt') as r:
    b[]
    for line in b:
        a.append([int(x) for x in line.split()])


for u in range(len(a)):
    for i in range(len(a)-u-1):
        if b[i] > b[i+1]:
            b[i], b[i+1] = b[i+1], b[i]


print(b)
k = time()
w = k - n
print(w)
        
